package com.yunshan.order.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.yunshan.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 小程序活动预约
 * @author admin001
 */
@Data
public class ReserveVo {

    /** 预约id */
    @ApiModelProperty(value = "预约id")
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private Long id;

    /** 预定人 */
    @ApiModelProperty(value = "预定人")
    private String name;

    /** 联系方式 */
    @ApiModelProperty("联系方式")
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private String phone;

    /** 房号 */
    @ApiModelProperty("房号")
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private String roomNumber;

    /** 预约活动id */
    @ApiModelProperty("预约项目id")
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private Long serveId;

    /** 预约活动id */
    @ApiModelProperty("预约项目名字")
    private String serveName;

    /** 预约项目 */
    @ApiModelProperty("备注")
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private String remark;

    /** 预约时间 */
    @ApiModelProperty("预约时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private Date reserveTime;

    /** 金额 */
    @ApiModelProperty("金额")
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private BigDecimal amount;

    /** 封面图 */
    @ApiModelProperty("封面图")
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private String img;

    /** 会员名 */
    @ApiModelProperty("会员名")
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private String memberName;

    /** 会员手机号 */
    @ApiModelProperty("会员手机号")
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private String memberPhone;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private Date createTime;

    /** 使用时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private Date useTime;

    /** 消费方式 */
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private Integer payType;

    /** 主卡or副卡 **/
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private Integer cardType;

    /** 礼包内容id */
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private Long giftId;
}
